<p>{{str}}</p>


<ul style="color:red;">
  <li *ngFor="let item of logs">{{item}}
    <button (click)="changeName()">改名字 </button>
  </li>
</ul>
